import Cookies from "js-Cookie"
// 组件中使用
// 写入cookie
const Token="token"
export function setToken(token){
    Cookies.set(Token,token);
}
export function getToken(){
   return  Cookies.get(Token);
}

export function removeToken(){
    Cookies.remove(Token);
}